<template>
  <div class="center_box">
    <div class="clear">
      <div class="xs-3">
        <div class="xs-5">
          <div class="icon_b">
            <i class="spin"></i>
            <img :src="require('@/assets/images/count/count1/icon_c7.png')" />
          </div>
        </div>
        <div class="xs-7">
          <h3 class="num_b">332<span>次</span></h3>
          <p class="p_b">累计报警</p>
        </div>
      </div>
      <div class="xs-3">
        <div class="xs-5">
          <div class="icon_b">
            <i class="spin"></i>
            <img :src="require('@/assets/images/count/count1/icon_c8.png')" />
          </div>
        </div>
        <div class="xs-7">
          <h3 class="num_b">332<span>次</span></h3>
          <p class="p_b">累计报修</p>
        </div>
      </div>
      <div class="xs-3">
        <div class="xs-5">
          <div class="icon_b">
            <i class="spin"></i>
            <img :src="require('@/assets/images/count/count1/icon_c9.png')" />
          </div>
        </div>
        <div class="xs-7">
          <h3 class="num_b">332<span>次</span></h3>
          <p class="p_b">当前异常</p>
        </div>
      </div>
      <div class="xs-3">
        <div class="xs-5">
          <div class="icon_b">
            <i class="spin"></i>
            <img :src="require('@/assets/images/count/count1/icon_c10.png')" />
          </div>
        </div>
        <div class="xs-7">
          <h3 class="num_b">332<span>个</span></h3>
          <p class="p_b">设备总数</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
    data() {
      return {

      }
    }
}
</script>

<style lang="less" scoped>
.center_box{border: 1px solid #558ecb; box-shadow: 0px 0px 5px rgba(0,0,0,0.2); background:rgba(1,32,108,0.9); padding: 12px; position: relative;}
.center_box:after{content: ''; display: block; position: absolute; height: 100%; width: 4px; left: 0px; background: url(~@/assets/images/count/count1/bor_a.png)no-repeat center; top: 0px;}
.center_box:before{content: ''; display: block; position: absolute; height: 100%; width: 4px; right: 0px; background: url(~@/assets/images/count/count1/bor_a1.png)no-repeat center; top: 0px;}
.center_box .num_b{line-height: 30px;}
.center_box .p_b{margin-top: -5px; margin-bottom: 0}

.icon_b{width: 46px; height: 46px; position: relative; background: url(~@/assets/images/count/count1/icon_c_bg_b.png) no-repeat center;}
.icon_b>i{display: block; width: 100%; height: 100%; position: absolute; background: url(~@/assets/images/count/count1/icon_c_bg_a.png) no-repeat center;}

.num_b{margin: 0px; color: #93fefe; font-size: 30px;font-family: Digiface; margin-top: 0px;background-image: -webkit-gradient(linear, 0 40%, 0 bottom, from(#8af3f8), to(#45cff8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;}
.num_b>span{font-size: 14px;}

.xs-3{width: 25%; float: left;}
.xs-5{width: 31.66%; float: left;}

.spin { animation: 3s linear 0s normal infinite running spin;}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
</style>